package com.lecture.javamode.template;


/**
 * @author luyn
 * @date 2024/09/26
 */
public abstract class AbstractClass {

    public final void templateMethod() {
        method1();
        method2();
    }

    public abstract void method1();

    public abstract void method2();
}
